/*
    SUSAN® - Sole of Unix Save ANything

   
      Copyright (C) 2011-2016 Skyatlas Co. LTD

   Copyright (C) 2018-2018 Hechzh Property

   
*/

#ifndef BAREOS_LIB_S_PASSWORD_H_
#define BAREOS_LIB_S_PASSWORD_H_

enum password_encoding
{
  p_encoding_undefined,
  p_encoding_clear,
  p_encoding_md5
};

struct s_password {
  enum password_encoding encoding;
  char* value;
  s_password()
  {
    encoding = p_encoding_undefined;
    value = nullptr;
  }
};

#endif /* BAREOS_LIB_S_PASSWORD_H_ */
